<fieldset class="layui-elem-field layui-field-title">
    <legend>续费跟踪 </legend>
</fieldset>


<div class="container">
<table class="layui-table">
    <colgroup>
        <col >
        <col width="150">
        <col width="80">
    </colgroup>

    <thead>
    <tr>
        <th>账号</th>
        <th>续费日期</th>
        <th>操作</th>

    </tr>
    </thead>
    <tbody>





    <?php
    for ($i = 0; $i < count($renewal_list); $i++) {
        ?>




        <tr id="item<?echo $renewal_list[$i]['nid']?>" <?if($applymodify['nid']){echo "style='color:red'";$status="审核中";}else{$status="正常";}?>>


            <td><?echo $renewal_list[$i]['name']?> - <?echo $renewal_list[$i]['type']?></td>


            <td>
                <?echo substr($renewal_list[$i]['next_enddate'],0,10)?>  /
                <span style="<? if(count_days(date("Y-m-d"),$renewal_list[$i]['next_enddate']) < 15 ) { echo "background-color: red;
    border-radius: 5px;
    padding: 2px 5px;
    color: #ffffff;";}?>">
        <?echo count_days(date("Y-m-d"),$renewal_list[$i]['next_enddate'])?> 日
    </span>
            </td>


            <td>





                <a href="../../renewal/view/detail-log-add.php?&nid=<? echo $renewal_list[$i]['nid']?><?echo $pagenumber_url.$sortby_url.$navitemed_url.$system_part.$term_nid ?><?echo $url_str?>"
                   class="layui-btn layui-btn-xs"  >续费</a>



            </td>
        </tr>
    <?}?>


    </tbody>
</table>
</div>